home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / ifft < prev    next >
Text File  |  1994-04-25  |  987b  |  36 lines

  1. ifft:
  2.  
  3. Syntax:    ifft ( X )
  4.     ifft ( X , N )
  5.  
  6. Description:
  7.  
  8.     Ifft utilizes the FFTPACK subroutine CFFTB to compute a
  9.     discrete Fourier transform of the input. The output is scaled
  10.     by 1/N, so that a call to fft() followed by a call to ifft()
  11.     will reproduce the original input. 
  12.  
  13.     If ifft is used with a second argument, N, then the matrix X
  14.     is either padded with zeros, or truncated till it is of length
  15.     N (if X is a vector), or has row dimension N (if it is a
  16.     matrix).
  17.  
  18.     Subroutine CFFTB computes the backward complex discrete
  19.     Fourier transform (the Fourier synthesis). equivalently, CFFTB
  20.     computes a complex periodic sequence from its Fourier
  21.     coefficients.
  22.  
  23.     for j=1,...,n
  24.  
  25.            c(j)=the sum from k=1,...,n of
  26.  
  27.                     c(k)*exp(i*(j-1)*(k-1)*2*pi/n)
  28.  
  29.                           where i=sqrt(-1)
  30.  
  31.     The argument X must be a matrix. If X is a row, or column
  32.     matrix then a vector ifft is performed. If X is a MxN matrix
  33.     then the N columns of X are ifft'ed.
  34.  
  35. See Also: fft
  36.